//
//  CarNewsCollectionViewCell.h
//  小汽车
//
//  Created by 杜远洋 on 14-12-29.
//  Copyright (c) 2014年 蓝欧科技. All rights reserved.
//

#import <UIKit/UIKit.h>


#define COLLECTION_CELL_WIDTH self.frame.size.width
#define COLLECTION_CELL_HEIGHT self.frame.size.height

@protocol CarNewsCollectionViewCellDelegate <NSObject>

- (void)changePage:(NSString *)website;

@end
@interface CarNewsCollectionViewCell : UICollectionViewCell<UITableViewDataSource,UITableViewDelegate>

@property (nonatomic,retain) id<CarNewsCollectionViewCellDelegate>delegate;
@property (nonatomic,retain) UITableView *tableView;
@property (nonatomic,retain) NSMutableArray *tableArray;
@property (nonatomic,assign) NSInteger count;
@property (nonatomic,assign) NSInteger newsIndex;


@end
